﻿using CoreShop.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Services
{
    public interface IcorecmsexchangeServices
    {

        /// <summary>
        /// 获取缓存的所有数据
        /// </summary>
        /// <returns></returns>
        List<corecmsexchange> GetCaChe();
        bool InsertAsync(corecmsexchange entity);
        corecmsexchange GetById(long id);
        /// <summary>
        /// 重写异步更新方法
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        bool UpdateAsync(corecmsexchange entity);

    }
}
